package com.yypx.service;

import java.util.List;
import java.util.Map;

import com.yypx.entity.TeacherType;

public interface TeacherTypeService {
	/**
	 * 取全部记录
	 * 
	 * @return
	 */
	List<TeacherType> selAll();

	TeacherType findById(Integer tid);

	void update(TeacherType type);

	void delete(Integer tid);

	void add(TeacherType type);

	List<Map<String, Object>> getResultList(List<TeacherType> list);

	void handleEntityForPageTemplate(Map<String, Object> map, TeacherType type);

	Map<String, Object> getResultMap(TeacherType type);
}
